package com.ay.weixin.fdc.boss.yongjin.db;

import java.sql.SQLException;
import java.util.List;

import lizar.db.ibatis.Dao;

import com.ay.weixin.fdc.boss.yongjin.domain.CashWithdrawFlow;

public class IbatisCashWithdrawFlowDao extends Dao{
	
	public void insert(CashWithdrawFlow flow) throws SQLException{
		this.sqlMapper.insert("fdc_cash_withdraw_flow.insert",flow);
	}
	
	
	public List<CashWithdrawFlow> getByDrawId(long draw_id) throws SQLException{
		return (List<CashWithdrawFlow> )this.sqlMapper.queryForList("fdc_cash_withdraw_flow.getByDrawId",draw_id);
	}
}
